package com.diandi.activity.manager;

import com.diandi.activity.bean.Activity;
import com.diandi.activity.bean.ActivityRule;
import com.diandi.ddsb.bean.PackageInvestTotalAmount;
import com.diandi.ddsb.bean.Result;
import com.diandi.ddsb.bean.Results;
import com.diandi.ddsb.bean.Rule;
import com.diandi.ddsb.vo.*;

import java.util.List;
import java.util.Map;

/**
 * Created by a on 2018/3/20.
 */
public interface ActivityManager {
    public List<Activity> queryActivitys(Map<String, Object> paramMap);

    public Integer queryActivitysCount(Map paramMap);

    public Results addNewInvestActivity(NewActivityInfoVo activity);

    public ActivityInfoVo getActivityById(Long id);

    List<Rule> queryRuleByActivityId(Long id);

    List<PrizeVo> queryPrizeByActivityId(Long activityId);

    public List<ActivityRuleVo> queryActRuleByEntity(ActivityRule activityRule);

    public Result updateActivity(Activity activity);

    public List<ComboboxDataVO> queryInvestPeriodsComboxData(long activityId);

    public List<Map<String, Object>> queryInvestTicketsSendInfo(long activityId);

    public Map<String, Object> queryInvestInfo(long activityId);

    public Map<String, Object> queryActTotalInvestAmount(Long activityId);

    public List<InvestActStasticsInfoVo> queryInvestStatisticsInfoByCondition(Map<String, Object> condition);

    public List<PackageInvestTotalAmount> queryPackageTotalInvestAmount(Map<String, Object> condition);

    public Integer queryInvestStatisticsInfoCountByCondition(Map<String, Object> condition);
}
